package com.lianxian.xindong.me.mvp.ui.adapter;

import android.view.View;

import com.hxb.library.base.BaseHolder;
import com.hxb.library.base.DefaultAdapter;
import com.lianxian.xindong.me.R;
import com.lianxian.xindong.me.mvp.ui.holder.MyInterestItemHolder;

import java.util.List;

public class MyInterestAdapter extends DefaultAdapter<Object> {

    public MyInterestAdapter(List<Object> infos) {
        super(infos);
    }

    @Override
    public BaseHolder<Object> getHolder(View v, int viewType) {
        return new MyInterestItemHolder(v);
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_my_interest;
    }
}
